package com.ITArmy.service;

import com.ITArmy.beans.Focus;
import com.ITArmy.common.ServerResponse;

import javax.servlet.http.HttpServletRequest;

public interface FocusService {
    /**
     * 添加关注（增）
     */
    ServerResponse addFocus(HttpServletRequest request, long authorId);

    /**
     * 取消关注（删）
     */
    ServerResponse cancelFocus(HttpServletRequest request, long authorId);

    /**
     * 遍历用户关注的其他人的信息
     */
    ServerResponse findAllFocuses(HttpServletRequest request);

    /**
     * 遍历用户的粉丝
     */
    ServerResponse findFuns(HttpServletRequest request);

}
